﻿const accountSid = 'AC31194fc1aa12d76ea8d2b2731fea7643';
const authToken = '7ec1ad47c9e838628be23fdbabc54609';
const twilio = require('twilio');
// Download the helper library from https://www.twilio.com/docs/node/install
// Your Account Sid and Auth Token from twilio.com/console
// DANGER! This is insecure. See http://twil.io/secure
const client = require('twilio')(accountSid, authToken);

client.messages
    .create({from: '+12012926076', body: 'body', to: '+6591550473'})
    .then(message => console.log(message.sid));
